Motion.MoveAxisVelocity method
Commands a never-ending controlled motion at a specified velocity.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsCommandStatus MoveAxisVelocity(
int Index,
double Velocity,
double Acceleration,
double Deceleration,
double Jerk,
McDirection Direction,
McBufferMode BufferMode
)
Public Function MoveAxisVelocity(
Index As Integer,
Velocity As Double,
Acceleration As Double,
Deceleration As Double,
Jerk As Double,
Direction As McDirection,
BufferMode As McBufferMode
) As KsCommandStatus
Parameters
Index [in]
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Velocity [in]
Type: double
A value of the specified velocity. [unit/second]
Acceleration [in]
Type: double
A value of the acceleration. The unit is determined by McProfileType. (increasing energy of the motor) [unit/second2] or [second]
Deceleration [in]
Type: double
A value of the deceleration. The unit is determined by McProfileType. (decreasing energy of the motor) [unit/second2] or [second]
Jerk [in]
Type: double
A value of the jerk. The unit is determined by McProfileType. [unit/second3] or [second]
Direction [in]
Type: McDirection
The moving direction of an axis. mcShortestWay
is not applicable.
BufferMode [in]
Type: McBufferMode
Defines how to blend the velocity of two methods.
Return value
Type: KsCommandStatus
Returns the KsCommandStatus class.
Remarks
- When the axis has reached the specified velocity, this command is finished but the axis keeps moving.
- For more information about how the blending modes work, see Concepts > Blend movements.
Examples
N/A
See also